package com.ph.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @项目：phshopping-api-pay
 * @描述：初始化支付配置环境
 * @作者： 张霞
 * @创建时间： 14:37 2017/3/25
 * @Copyright @2017 by zhangxia
 */
@Configuration
@PropertySource(value = "classpath:pay_init.properties")
public class PayConfiguration {
    @Value("${yl_key}")
    private String yl_key;
    @Value("${yl_mid}")
    private String yl_mid;
    @Value("${yl_moneytype}")
    private String yl_moneytype;
    @Value("${yl_url_charge}")
    private String yl_url_charge;
    @Value("${yl_url_merchant_return}")
    private String yl_url_merchant_return;
    @Value("${yl_url_member_return}")
    private String yl_url_member_return;
    @Value("${yl_return_url}")
    private String yl_return_url;

    public String getYl_key() {
        return yl_key;
    }

    public void setYl_key(String yl_key) {
        this.yl_key = yl_key;
    }

    public String getYl_mid() {
        return yl_mid;
    }

    public void setYl_mid(String yl_mid) {
        this.yl_mid = yl_mid;
    }

    public String getYl_moneytype() {
        return yl_moneytype;
    }

    public void setYl_moneytype(String yl_moneytype) {
        this.yl_moneytype = yl_moneytype;
    }

    public String getYl_url_charge() {
        return yl_url_charge;
    }

    public void setYl_url_charge(String yl_url_charge) {
        this.yl_url_charge = yl_url_charge;
    }

    public String getYl_url_merchant_return() {
        return yl_url_merchant_return;
    }

    public void setYl_url_merchant_return(String yl_url_merchant_return) {
        this.yl_url_merchant_return = yl_url_merchant_return;
    }

    public String getYl_url_member_return() {
        return yl_url_member_return;
    }

    public void setYl_url_member_return(String yl_url_member_return) {
        this.yl_url_member_return = yl_url_member_return;
    }

    public String getYl_return_url() {
        return yl_return_url;
    }

    public void setYl_return_url(String yl_return_url) {
        this.yl_return_url = yl_return_url;
    }
}
